<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<!--[if lt IE 9]>
<script type="text/javascript" src="/public/admin/js/html5.js"></script>
<script type="text/javascript" src="/public/admin/js/respond.min.js"></script>
<script type="text/javascript" src="/public/admin/js/PIE_IE678.js"></script>
<![endif]-->
<link type="text/css" rel="stylesheet" href="/public/admin/css/H-ui.css"/>
<link type="text/css" rel="stylesheet" href="/public/admin/css/H-ui.admin.css"/>
<link type="text/css" rel="stylesheet" href="/public/admin/font/font-awesome.min.css"/>
<!--[if IE 7]>
<link href="/public/admin/font/font-awesome-ie7.min.css" rel="stylesheet" type="text/css" />
<![endif]-->
<title>pk10中奖倍率设置</title>
</head>
<body>
<div class="pd-20">
  <div class="Huiform">
   
 
    <?php foreach ($arr as $k=>$v):?>
        <?php if(!$v){continue;}?>
        <div class='mf'><b><?php echo $k;?></b>&nbsp;&nbsp;&nbsp;&nbsp;<input type="text"  value="<?php echo $v;?>"/></div>
    <?php endforeach;?>
 
 
  
   <a id='tijiao' class="btn radius btn-success btn-big">设置倍率</a>
<style>
    .mf{width: 300px;height: 30px;float: left;margin-left: 20px;}
    .mf b{text-align: right; width: 100px; float: left; display: block;}
    .mf input{text-align: left; width: 150px; height:18px;float: left;display: block;margin-left: 20px;padding-left: 10px;}
</style>

  </div>
</div>
<script type="text/javascript" src="/public/admin/js/jquery.min.js"></script>
<script type="text/javascript" src="/public/admin/js/H-ui.js"></script> 
<script type="text/javascript" src="/public/admin/js/H-ui.admin.js"></script> 
<script type="text/javascript" src="/public/admin/js/self.js"></script> 
<script type="text/javascript" src="/public/admin/layer/layer.min.js"></script>
<script type="text/javascript">
$(function(){
	$('#tijiao').click(function(){
		var json ='';
			$(".mf").each(function(){
				var x=$(this).find('b').html();
				 
				 json+=x+'-'+$(this).find('input').val()+'|';
			});
		
		$.ajax({
	         type: "POST",
	         url: "/?G=admin/setbl",
	         data:  {'j':json},
	         success:function(data){
	            		Malert(data);
	         }
	     });
	});
});


</script>

</body>
</html>